﻿// ===============================================================================
// XCI.NET 西安交通信息WinForm开发框架 2018 版权所有
// ===============================================================================
using DevExpress.XtraGrid.Columns;
using DevExpress.XtraGrid.FilterEditor;
using DevExpress.XtraGrid.Views.Base;

namespace XCI.Windows.Controls
{
    public class ViewFilterColumnCollectionx : ViewFilterColumnCollection
    {
        /// <summary>
        /// <para>
        /// Initializes a new instance of the ViewFilterColumnCollection class with the columns from the specified View.
        /// </para>
        /// </summary>
        /// <param name="view">A <see cref="T:DevExpress.XtraGrid.Views.Base.ColumnView"/> object whose columns are used to initialize Filter Columns in the current collection.
        ///             </param>
        public ViewFilterColumnCollectionx(ColumnView view) : base(view)
        {

        }

        protected override bool IsValidForFilter(GridColumn gc)
        {
            return true;
        }
    }
}